package org.annotation.t.autowire.service.impl;

import org.annotation.t.autowire.dao.UserDao;
import org.annotation.t.autowire.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public void addUserService() {
        System.out.println("addUserService成功...");
        userDao.addUserDao();
    }
}
